package gnu.util;

/**
 * Created by maliang on 2017/5/15.
 */
public class DLLPath {
    /**
     * 动态库文件的路径简写
     */
    private static String shortPath = ":\\loadometerParserConfig\\dll\\";

    public static String getDllPath(String fileName){
        StringBuffer path = new StringBuffer();
        String jrePath = System.getProperty("java.home");
        //获取JRE的磁盘路径
        String letter = jrePath.split(":")[0];
        path.append(letter).append(shortPath).append(fileName);
        return path.toString();
    }
}
